package com.hyh.spring.controller;

import com.hyh.spring.service.IMessageProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @BelongsPackage: com.hyh.spring.controller
 * @ClassName SendMessageController
 * @Author: hyhWTX
 * @CreateTime: 2023-05-03  17:04
 * @Description: TODO (一句话描述以下该类的功能)
 * @Version: 1.0
 */
@RestController
public class SendMessageController {
    @Autowired
    private IMessageProvider iMessageProvider;
    @GetMapping(value = "/sendMessage")
    public String sendMessage(){
        return iMessageProvider.sendMessage();
    }
}
